package com.iptv.devices.service;


import com.iptv.devices.domain.LiveDevices;
import com.iptv.devices.domain.dto.DeviceExternallyAddedDTO;

import java.util.List;

/**
* @author Administrator
* @description 针对表【live_devices】的数据库操作Service
* @createDate 2025-01-26 15:14:31
*/
public interface LiveDevicesService{

    public List<LiveDevices> selectDeviceListByView(LiveDevices liveDevices);

    public LiveDevices selectDeviceByDeviceId(Long deviceId);

    public int insertDevice(LiveDevices liveDevices);

    public int updateDevice(LiveDevices liveDevices);

    public int deleteDeviceByDeviceIds(Long[] deviceIds);

    public int checkStatusByMac(String mac);

    public int checkRegistrationDevice(String mac);

    public int externallyAdded(DeviceExternallyAddedDTO dto);

    public int updateStatus(Long[] deviceIds);

    LiveDevices getDeviceByMac(String mac);



//    public int selectDeviceStatus(LiveDevices liveDevices);
}
